
package com.insigma.business.qrcode.job.dao;


import com.insigma.business.qrcode.job.dto.search.JobFairRecruitPositionBSearcher;
import com.insigma.business.qrcode.job.entity.JobFairRecruitPositionDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface JobFairRecruitPositionDao {

    
    List<JobFairRecruitPositionDO> search(final JobFairRecruitPositionBSearcher innerSearcher);

    
    JobFairRecruitPositionDO get(final String id);

    
    Integer insert(final JobFairRecruitPositionDO jobFairRecruitPositionDO);

    
    Integer update(final JobFairRecruitPositionDO jobFairRecruitPositionDO);

    
    Integer delete(@Param("id") final String id,
                   @Param("modifierType") final String modifierType,
                   @Param("modifierId") final String modifierId);

    int countByFairAndStatus(@Param("fairId") String fairId, @Param("status") String status);
}
